﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace BCEntity.TMS.OrderFreightFormulaRecord
{
    /// <summary>
    /// 订单运费公式记录
    /// </summary>
    [Table("orderfreightformularecord")]
    public class OrderFreightFormulaRecordEntity
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        /// <summary>
        /// 订单运费公式记录Id
        /// </summary>		
        public long OrderFreightFormulaRecordId { get; set; }
        /// <summary>
        /// 记录次数
        /// </summary>		
        public int RecordTimes { get; set; }
        /// <summary>
        /// 订单Id
        /// </summary>		
        public long OrderId { get; set; }
        /// <summary>
        /// 订单编号
        /// </summary>		
        public string OrderNo { get; set; }
        /// <summary>
        /// 货物重量
        /// </summary>		
        public decimal? GoodsWeight { get; set; }
        /// <summary>
        /// 货物体积
        /// </summary>		
        public decimal? GoodsVolume { get; set; }
        /// <summary>
        /// 货物长度
        /// </summary>		
        public decimal? GoodsLength { get; set; }
        /// <summary>
        /// 货物宽度
        /// </summary>		
        public decimal? GoodsWidth { get; set; }
        /// <summary>
        /// 货物高度
        /// </summary>		
        public decimal? GoodsHeight { get; set; }
        /// <summary>
        /// 运费Id
        /// </summary>		
        public int? FreightConfigurationId { get; set; }
        /// <summary>
        /// 运费扩展Id
        /// </summary>		
        public int? FreightConfigurationExtentionId { get; set; }
        /// <summary>
        /// 骑手运费配置Id
        /// </summary>		
        public long? HorsemanFreightConfigurationId { get; set; }
        /// <summary>
        /// 骑手运费扩展Id
        /// </summary>		
        public long? HorsemanFreightExtentionId { get; set; }
        /// <summary>
        /// 起步价
        /// </summary>		
        public decimal? StartPrice { get; set; }
        /// <summary>
        /// 起步重量
        /// </summary>		
        public int? StartWeight { get; set; }
        /// <summary>
        /// 起步里程
        /// </summary>		
        public int? StartMileage { get; set; }
        /// <summary>
        /// 续程数量
        /// </summary>		
        public int? ContinueMileage { get; set; }
        /// <summary>
        /// 续重数量
        /// </summary>		
        public int? ContinueWeight { get; set; }
        /// <summary>
        /// 续程价格
        /// </summary>		
        public decimal? ContinueMileagePrice { get; set; }
        /// <summary>
        /// 续重价格
        /// </summary>		
        public decimal? ContinueWeightPrice { get; set; }
        /// <summary>
        /// 续程金额
        /// </summary>		
        public decimal? ContinueMileageAmount { get; set; }
        /// <summary>
        /// 续重金额
        /// </summary>		
        public decimal? ContinueWeightAmount { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>		
        public DateTime CreateTime { get; set; }

    }
}

